package com.example.saiweisi.mapper.systemAdminMapper;

import com.example.saiweisi.controller.request.CaipinRequest;
import com.example.saiweisi.model.Caipin;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
* @author 28656
* @description 针对表【caipin】的数据库操作Mapper
* @createDate 2024-03-09 14:57:38
* @Entity com.example.saiweisi.model.Caipin
*/
@Mapper
public interface CaipinMapper {

    List<Caipin> page(CaipinRequest chefAdminRequest);

    int deleteByPrimaryKey(Long id);

    int insert(Caipin record);

    int insertSelective(Caipin record);

    Caipin selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(Caipin record);

    int updateByPrimaryKey(Caipin record);

}
